import { request } from '@umijs/max';
//代办
export async function queryTodoList() {
  return request('/api/system/todo/list', {
    method: 'GET',
  });
}

export async function markTodoRead(id: string) {
  return request(`/api/system/todo/${id}/read`, {
    method: 'PUT',
  });
}
